package grape.workflow.rest.task.form;

import grape.common.rest.form.BaseForm;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotEmpty;

@Data
@EqualsAndHashCode(callSuper=false)
@ApiModel(value="任务驳回跳转表单对象")
public class TaskMoveRejectForm extends BaseForm {

    @NotEmpty(message = "当前任务id不能为空")
    @ApiModelProperty(value = "当前/待办任务id")
    private String toDoTaskId;

    @NotEmpty(message = "目标任务id不能为空")
    @ApiModelProperty(value = "目标/跳转的任务id")
    private String historyTaskId;

}
